package com.atguigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_employee")
public class Employee {
    @TableField("e_id")
    @TableId(type = IdType.AUTO)
    private Long eId;
    @TableField("e_name")
    private String eName;
    @TableField("e_age")
    private Integer eAge;
    @TableField("e_gender")
    private String eGender;
    @TableField("e_email")
    private String eEmail;
}
